package cn.tedu.submarine2;

import cn.tedu.submarine2.EnemyScore;
import cn.tedu.submarine2.Images;
import cn.tedu.submarine2.SeaObject;

import javax.swing.*;

/**
 * 侦察潜艇类
 */
public class ObserveSubmarine extends SeaObject implements EnemyScore {

    public ObserveSubmarine(){
        super(63,19);
    }

    public void move() {
        x += speed;
    }

    public ImageIcon getImage() {
        return Images.obsersubm;
    }

    public int getScore(){
        return 10;
    }

}
